# 设置颜色
RED='\033[0;31m'
GREEN='\033[0;32m'
BLUE='\033[0;34m'
NC='\033[0m' # 无颜色

# 简单的日志函数
log_info() { echo -e "${BLUE}[INFO] $1${NC}"; }
log_error() { echo -e "${RED}[ERROR] $1${NC}"; }
log_success() { echo -e "${GREEN}[SUCCESS] $1${NC}"; }

./build_final_image.sh
if [ $? -ne 0 ]; then
    log_error "生成 final image 失败"
    exit 1
fi
log_success "生成 final image 成功"



./02_start_all.sh
if [ $? -ne 0 ]; then
    log_error "启动服务失败"
    exit 1
fi